package coderead.test.mybatis.beans;

import org.apache.ibatis.type.<a class='class reference' href='/lib/org.mybatis/mybatis/3.5.1/org/apache/ibatis/type/Alias.java'>Alias</a>;

import java.io.<a class='class reference' href='/jre/8/java/io/Serializable.java'>Serializable</a>;

@<a class='class reference' href='/lib/org.mybatis/mybatis/3.5.1/org/apache/ibatis/type/Alias.java'>Alias</a>("student_alias")
public class <span class='class declaration top' name='Student'>Student</span> implements <a class='class reference' href='/jre/8/java/io/Serializable.java'>Serializable</a> {
    private <a class='class reference' href='/jre/8/java/lang/Integer.java'>Integer</a> <span class='field declaration' name='Student.id'>id</span>;
    private <a class='class reference' href='/jre/8/java/lang/String.java'>String</a> <span class='field declaration' name='Student.name'>name</span>;

    public <a class='class reference' href='/jre/8/java/lang/Integer.java'>Integer</a> <span class='method declaration' name='getId-0CE9E'>getId</span>() {
        return <a class='field access' href='#field=Student.id'>id</a>;
    }

    public void <span class='method declaration' name='setId-2E203'>setId</span>(<a class='class reference' href='/jre/8/java/lang/Integer.java'>Integer</a> <span class='variable declaration' position='312' >id</span>) {
        this.<a class='field access' href='#field=Student.id'>id</a> = <a class='variable access' href='#position=312'>id</a>;
    }

    public <a class='class reference' href='/jre/8/java/lang/String.java'>String</a> <span class='method declaration' name='getName-B5BA3'>getName</span>() {
        return <a class='field access' href='#field=Student.name'>name</a>;
    }

    public void <span class='method declaration' name='setName-7F5DE'>setName</span>(<a class='class reference' href='/jre/8/java/lang/String.java'>String</a> <span class='variable declaration' position='436' >name</span>) {
        this.<a class='field access' href='#field=Student.name'>name</a> = <a class='variable access' href='#position=436'>name</a>;
    }
}
